<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>微信会员管理</title>
	<meta name="decorator" content="default"/>

</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/wechat/wechatMember/">我推荐的会员列表</a></li>
		<li><a href="${ctx}/wechat/wechatMember/form">微信会员添加</a></li>
	</ul>
	
	<div class="breadcrumb form-search">
	推荐会员人数：${ memberCount  }
	</div>
	
	<table id="contentTable" class="table table-striped table-bordered ">
		<thead><tr>
		<shiro:hasPermission name="sys:user:edit"><th>所属商家</th></shiro:hasPermission>
		<th>ID</th>
		<th>名称</th>
		<th>手机号</th><th>当前积分</th><th>最后签到时间</th><th>注册时间</th></tr></thead>
		<tbody>
		
		<c:forEach items="${wechatMemberList1}" var="wechatMember">
			<tr>
					<shiro:hasPermission name="sys:user:edit"><td>${wechatMember.user.name}</td></shiro:hasPermission>
				<td>${wechatMember.id}</td>
				<td>${wechatMember.name}</td>
				<td>${wechatMember.mobile}</td>
				<td>${wechatMember.score}</td>
				<td>${wechatMember.lastSignTime}</td>
				<td><fmt:formatDate value="${wechatMember.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
				
				</td>
			</tr>

		</c:forEach>
	
		

		
		</tbody>
	</table>
	
</body>
</html>
